$OpenBSD: patch-sys_v4l2_v4l2_calls_h,v 1.2 2011/03/08 17:21:48 ajacoutot Exp $
--- sys/v4l2/v4l2_calls.h.orig	Tue Mar  8 15:39:25 2011
+++ sys/v4l2/v4l2_calls.h	Tue Mar  8 17:58:48 2011
@@ -29,8 +29,12 @@
 #ifdef HAVE_LIBV4L2
 #  include <libv4l2.h>
 #else
+#if defined __OpenBSD__
+#  include <sys/videoio.h>
+#else
 #  include <sys/ioctl.h>
 #  include <linux/videodev2.h>
+#endif
 #  define v4l2_fd_open(fd, flags) (fd)
 #  define v4l2_close    close
 #  define v4l2_dup      dup
